using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMDeliveryBusiness
    {
        public static clsTMDeliveryController cls = new clsTMDeliveryController();

        #region[Get-Data]
        public DataTable BindGirdTMDelivery()
        {
            return cls.BindGirdTMDelivery();
        }
        public DataTable BindGirdTMDelivery_Detail_Edit(int id)
        {
            return cls.BindGirdTMDelivery_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMDelivery(clsTMDeliveryProperty obj)
        {
            return cls.InsertTMDelivery(obj);
        }
        public static bool UpdateTMDelivery(clsTMDeliveryProperty obj)
        {
            return cls.UpdateTMDelivery(obj);
        }
        public static bool DeleteTMDelivery(int id)
        {
            return cls.DeleteTMDelivery(id);
        }

        public bool TMDelivery_Check_Delete_TMCommandTransferOrder(int id)
        {
            return cls.TMDelivery_Check_Delete_TMCommandTransferOrder(id);
        }
        public bool TMDelivery_Check_Delete_TMPlan_TransferOrder(int id)
        {
            return cls.TMDelivery_Check_Delete_TMPlan_TransferOrder(id);
        }
        public bool TMDelivery_Check_Delete_TMSalesReport(int id)
        {
            return cls.TMDelivery_Check_Delete_TMSalesReport(id);
        }
        public bool TMDelivery_Check_Delete_TMDiaryTransferOrder(int id)
        {
            return cls.TMDelivery_Check_Delete_TMDiaryTransferOrder(id);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}